package com.bookseek.xreader.vo;

public class TraceTextVo {
    public String text;
    public Integer showColor; // 标记是否要展示颜色
    public Integer traceType;
    public Integer startIndex; //匹配起始位置
    public Integer endIndex; // 匹配截止位置
    public Integer merged = 0;// 标记是否被合并，已经合并过无需再参与计算
    public TraceTextVo(String text, Integer showColor) {
        this.text = text;
        this.showColor = showColor;
    }

    public TraceTextVo() {

    }

    public String getColor(){
        return  "green";
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getShowColor() {
        return showColor;
    }

    public void setShowColor(Integer showColor) {
        this.showColor = showColor;
    }

    public Integer getTraceType() {
        return traceType;
    }

    public void setTraceType(Integer traceType) {
        this.traceType = traceType;
    }

    public Integer getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
    }

    public Integer getEndIndex() {
        return endIndex;
    }

    public void setEndIndex(Integer endIndex) {
        this.endIndex = endIndex;
    }

    public Integer getMerged() {
        return merged;
    }

    public void setMerged(Integer merged) {
        this.merged = merged;
    }
}
